package com.wangwei.mq.springboot;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by wangwei on 2019/11/15 0015.
 */
@Configuration
public class MQConfiguration {
    @Bean
    public Queue huY(){
        return new Queue("huY",true,false,false);
    }
}
